#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>
#include<assert.h>

size_t mystrlen(char* string)
{
	int count = 0;
	assert(string != NULL);
	char* ret = string;
	while (*string)
	{
		count++;
		string++;
	}
	return count;
}

int main()
{
	char arr[] = "hello word";
	int ret = mystrlen(arr);
	printf("%d", ret);

	return 0;
}